<template>
  <div class="beanTicket">
    <div class="title">
      <i class="iconfont icon-xiangzuo" @click="$router.go(-1),change()"></i>
      <div class="story">豆券</div>
    </div>

    <div class="mesBeanT">
      <div class="ticket">
        <div class="icon">
          <i class="iconfont icon-qiaquan"></i>
        </div>
        <div class="fontT">
          <p>暂无豆券</p>
          <p>敬请关注活动</p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  methods:{
    change(){
    this.$emit("getnavs-btn", true);
    }
  },
  created() {
    this.$emit("getnavs-btn", false);
  },
};
</script>

<style lang="less">
.beanTicket {
  .title {
    position: fixed;
    width: 100%;
    min-height: 50px;
    display: flex;
    background-color: #fff;
    z-index: 1;
    i {
      flex: 0 0 40px;
      text-align: center;
      line-height: 50px;
      font-size: 20px;
    }
    .story {
      flex: 1;
      text-align: center;
      line-height: 50px;
      font-size: 18px;
      padding-right: 40px;
    }
  }
  .mesBeanT {
    padding-top: 50px;
    width: 100%;
    height: 100%;
    background-color: #fff;
    .ticket {
      margin: 180px auto;
      text-align: center;
      .icon {
        margin: auto;
        width: 80px;
        height: 80px;
        border-radius: 50%;
        text-align: center;
        background-color: #ddd;
        i {
          font-size: 50px;
          color: #fff;
          line-height: 80px;
        }
        p {
          font-size: 14px;
          margin-top: 15px;
        }
      }
      .fontT {
        margin-top: 15px;
        p{
          font-size: 14px;
          padding: 2px;
          color: #999;
        }
      }
    }
  }
}
</style>